<?php /* Smarty version 2.6.25, created on 2014-08-04 11:40:14
         compiled from test/views/index.works.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'l', 'test/views/index.works.tpl', 4, false),)), $this); ?>
<div id="banner">
    <div class="container">
        <div class="title">
            <h1><?php $this->_tag_stack[] = array('l', array()); $_block_repeat=true;Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?>Our works<?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo Nine_View_Register_Translation::translate($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?></h1>
        </div>
    </div>
</div>
<div id="content">
    <div class="container">
        <p style="font-weight: bold;">Những giáo trình đã được nhóm đóng gói</p>
        <ul class="thumbnails">
            <?php $_from = $this->_tpl_vars['books']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['book'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['book']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['item']):
        $this->_foreach['book']['iteration']++;
?>
            <?php $_from = $this->_tpl_vars['item']['langs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['item2']):
?>
            <li class="span4" style="height: 200px;">
                <div class="row">
                    <div class="span2">
                        <img src="<?php echo $this->_tpl_vars['LAYOUT_HELPER_URL']; ?>
front/images/base/book1.png">
                    </div>
                    <div class="span2">
                        <b><?php echo $this->_tpl_vars['item2']['title']; ?>
</b><br>
                        <a href="<?php echo $this->_tpl_vars['APP_BASE_URL']; ?>
epub/index/export-epub/id/<?php echo $this->_tpl_vars['item2']['book_id']; ?>
" title="Export epub" class="btn btn-info">Download</a>
                    </div>
                </div>
            </li>


            <?php endforeach; endif; unset($_from); ?>
            <?php endforeach; endif; unset($_from); ?>



        </ul>
    </div>


</div>
